MailPoet\Config\Hooks S

Total Complexity 33
Dependencies 18
Dependents 3
Total lines 523
Lines of code 400
Logical lines of code 107
Comment lines 36
Methods 23
Properties 16

Methods 23

Method Rating Maintainability Complexity Lines of code
setupSubscriptionEvents()
A
37 7 99
setupWPUsers()
S
47 1 51
setupWooCommerceSubscriptionEvents()
S
56 2 21
setupWooCommerceUsers()
S
53 1 32
setupFooter()
S
64 2 11
setupWoocommerceSystemInfo()
S
57 1 23
setupWooCommerceSettings()
S
57 1 20
__construct()
S
56 1 18
init()
S
58 1 18
setFooter()
S
70 2 6
setScreenOption()
S
69 2 7
setupWooCommercePurchases()
S
62 1 14
setupMailer()
S
62 1 14
setupWooCommerceSubscriberEngagement()
S
65 1 11
setupWooCommerceTracking()
S
70 1 7
setupListing()
S
68 1 8
setupAutomateWooSubscriptionEvents()
S
82 1 3
setupPostNotifications()
S
68 1 8
initEarlyHooks()
S
82 1 3
setupSettingsLinkInPluginPage()
S
71 1 6
setSettingsLinkInPluginPage()
S
68 1 6
setupChangeNotifications()
S
72 1 6
setupLicenseProvisioning()
S
68 1 8